
import layout from '@/layout'

export default {
  path: '/role',
  component: layout, // 一级路由
  children: [{
    // 这里留空表示默认子路由，访问路径会是 /department
    path: '', // 或者保持 'department' 但需要调整父级路径
    component: () => import('@/views/role/index'),
    name: 'role',
    meta: { title: '角色', icon: 'setting' }
  }]
}
